package com.example.shiro.model.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 权限资源表
 * </p>
 *
 * @author jatej
 * @since 2020-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_auth")
@ApiModel(value="Auth对象", description="权限资源表")
public class AuthEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "权限信息主键ID")
    @TableId(value = "auth_id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "权限标识")
    private String authRemark;

    @ApiModelProperty(value = "权限名称")
    private String authName;


}
